package de.vermaasen.schwanenkicker.entity;

import org.joda.time.DateTime;

public class Location {
	
	private String name;
	private String adress;
	private DateTime created;
	private DateTime updated;
	private boolean deleted;
	
	public Location(final String pName, final String pAdress) {
		this.name = pName;
		this.adress = pAdress;
		created = new DateTime();
		updated = new DateTime();
		deleted = false;
	}
	public String getName() {
		return name;
	}
	public void setName(final String pName) {
		this.name = pName;
	}
	public String getAdress() {
		return adress;
	}
	public void setAdress(final String pAdress) {
		this.adress = pAdress;
	}
	public DateTime getCreated() {
		return created;
	}
	public void setCreated(DateTime pCreated) {
		created = pCreated;
	}
	public DateTime getUpdated() {
		return updated;
	}
	public void setUpdated(DateTime pUpdated) {
		updated = pUpdated;
	}
	public boolean isDeleted() {
		return deleted;
	}
	public void setDeleted(boolean pDeleted) {
		deleted = pDeleted;
	}
	
}
